import request from "@/utils/request"

// 查询蜂窝关系
export function getDeptService (id) {
    return request({
        url: '/deptServices',
        method: 'get'
    })
}

// 新增蜂窝关系
export function addDeptService (data) {
    return request({
        url: '/deptservice',
        method: 'post',
        data: data
    })
}

// 修改蜂窝关系
export function updateDeptService (data) {
    return request({
        url: '/deptservice',
        method: 'put',
        data: data
    })
}

// 删除蜂窝关系
export function deleteDeptService (id) {
    return request({
        url: '/deptservice/' + id,
        method: 'delete'
    })
}